package com.lc.executor;

import java.lang.reflect.Method;
import java.sql.SQLException;

public interface Executor {

    Object executeQuery(Class<?> returnType, Method method,Object[] args) throws ClassNotFoundException, SQLException, InstantiationException, IllegalAccessException;

    int executeInsert(Method method);

    int executeUpdate();

    int executeDelete();
}
